/**
 * 处理时间格式
 * @param time 
 */
export function _timeFormat(time: string) {
    time = time != null ? time.toLocaleString().split(' ')[0].split('/').join('-') : '';
    time = time.length < 7 ? time = time.split('-').join('-0') : time;
    return time;
}